/**
 * Copyright 2010 Balaji Thennarangam.
 */
package com.kathez.studentportal.entity;

/**
 * The primary key class for the {@link Student} entity 
 * @author Balaji T
 *
 */
public class StudentPK extends AbstractPrimaryKey {

	/**
	 * 
	 */
	private static final long serialVersionUID = 234914969046399202L;
	
	/* (non-Javadoc)
	 * @see com.kathez.studentportal.entity.AbstractPrimaryKey#setKeys()
	 */
	@Override
	protected Object[] setKeys() {
		return new Object[]{this.rollNo};
	}
	
	private String rollNo;

	/**
	 * @return the rollNo
	 */
	public String getRollNo() {
		return rollNo;
	}

	/**
	 * @param rollNo the rollNo to set
	 */
	public void setRollNo(String rollNo) {
		this.rollNo = rollNo;
	}
}
